#include "QVideoItemWidget.h"

QVideoItemWidget::QVideoItemWidget()
{
    setFixedSize(800,100);


    mThumbnail = new QLabel(this);
    mThumbnail->setGeometry(2,2,96,96);
    mThumbnail->setPixmap(QPixmap("img/sun.jpg"));
    mThumbnail->setScaledContents(true);

    mNumber = new QLabel(this);
    mNumber->setGeometry(100,5,120,20);
    mNumber->setText("No.xxxx");
    QFont numberFont;
    numberFont.setPointSize(20);
    numberFont.setBold(true);
    mNumber->setFont(numberFont);

    mName = new QLabel(this);
    mName->setGeometry(230,7,560,20);
    mName->setText("Movie Name ahhhhhhhhhhhhhhhhhhh");
    mName->setFrameStyle(QFrame::StyledPanel | QFrame::Sunken);
    QFont nameFont;
    numberFont.setPointSize(15);
    mName->setFont(nameFont);




    mCategory = new QLabel(this);
    mTags = new QLabel(this);
    mContents = new QLabel(this);
    mDate = new QLabel(this);
    mScore = new QLabel(this);
    mFileInfo = new QLabel(this);
}

QVideoItemWidget::~QVideoItemWidget()
{

}

